MCS_FLAGS = -debug -nowarn:0169
ASSEMBLY_NAME = Lithium
ASSEMBLY = $(ASSEMBLY_NAME).dll

opennlpdir = $(pkglibdir)
opennlp_SCRIPTS = $(ASSEMBLY) $(ASSEMBLY).mdb

ASSEMBLY_REFERENCES = \
	-r:System.Windows.Forms \
	-r:System.Drawing

ASSEMBLY_SOURCES = \
	$(srcdir)/Collections/ConnectionCollection.cs \
	$(srcdir)/Collections/ConnectorCollection.cs \
	$(srcdir)/Collections/ShapeCollection.cs \
	$(srcdir)/Connection.cs \
	$(srcdir)/Connector.cs \
	$(srcdir)/Delegates/Delegates.cs \
	$(srcdir)/Entity.cs \
	$(srcdir)/Enums/Enums.cs \
	$(srcdir)/GraphAbstract.cs \
	$(srcdir)/Interfaces/Interfaces.cs \
	$(srcdir)/IO/DataType.cs \
	$(srcdir)/IO/EdgeType.cs \
	$(srcdir)/IO/GraphDataAttribute.cs \
	$(srcdir)/IO/GraphDataCollection.cs \
	$(srcdir)/IO/GraphSerializer.cs \
	$(srcdir)/IO/GraphType.cs \
	$(srcdir)/IO/NodeType.cs \
	$(srcdir)/IO/ParentChild.cs \
	$(srcdir)/IO/ParentChildCollection.cs \
	$(srcdir)/Proxy.cs \
	$(srcdir)/ShapeBase.cs \
	$(srcdir)/Shapes/OvalShape.cs \
	$(srcdir)/Shapes/SimpleRectangle.cs \
	$(srcdir)/Shapes/TextLabel.cs \
	$(srcdir)/UI/LithiumControl.cs \
	$(srcdir)/Visitors/DeleteVisitor.cs \
	$(srcdir)/Visitors/ExpanderVisitor.cs


$(ASSEMBLY): $(ASSEMBLY_SOURCES)
	$(MCS) $(MCS_FLAGS) -target:library -out:$@ $(ASSEMBLY_REFERENCES) $(ASSEMBLY_SOURCES)

EXTRA_DIST = \
	$(ASSEMBLY_SOURCES)

CLEANFILES = $(ASSEMBLY) *.dll *.exe
DISTCLEANFILES = *.mdb
MAINTAINERCLEANFILES = Makefile.in
